<%@page import="com.neiquan.backstage.pub.bsc.dao.po.SceneVisitReservation"%>
<%@page import="com.neiquan.backstage.scene_visit_reservation.SceneVisitReservationService"%>
<%@page import="com.neiquan.backstage.pub.bsc.dao.po.User"%>
<%@page import="com.neiquan.backstage.common.util.Sessions"%>
<%@page import="com.neiquan.backstage.common.util.SpringContextUtils"%>
<%@page import="com.neiquan.backstage.resourec_manage.EntrepreneurService"%>
<%@page import="org.springframework.context.ApplicationContext"%>
<%@page import="com.neiquan.backstage.common.CommonService"%>
<%@page import="com.neiquan.backstage.pub.bsc.dao.po.Entrepreneur"%>
<%@page import="java.util.List"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<% 	
	Integer id=Integer.valueOf(request.getParameter("id"));
	ApplicationContext appCtx = SpringContextUtils.getApplicationContext();
	CommonService commonService = appCtx.getBean(CommonService.class);
	SceneVisitReservationService sceneVisitReservationService=appCtx.getBean(SceneVisitReservationService.class);
	SceneVisitReservation entityS=sceneVisitReservationService.queryById(id);
	pageContext.setAttribute("entityS", entityS);
%>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
	<meta http-equiv="content-type" content="text/html; charset=UTF-8">
	<meta charset="UTF-8">
	<title>场地参观详情</title>
	<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=1.0" />
	<meta name="apple-mobile-web-app-capable" content="yes" />
	<meta http-equiv="X-UA-Compatible" content="IE=edge" />
	<link rel="stylesheet" href="css/base.css" />
	<link rel="stylesheet" href="css/main.css" />
</head>
<body bgcolor="#f0f0f0">
		<section class="mt activesignup">
			<section class="tc">
				<form id="addrvisitorform" class="fom" action="api/sceneVisitReservation/add">
					<section>
						<p class="addrvisitor-title pd">申请人信息</p>
						<section class="line"></section>
						<section class="common_bg">
							<section class="perfect pd">
							<p class="form-inpt-p">
								<label>公司名称</label><input class="inpt" value="<%=entityS.getEntrepreneurName() %>" form="addrvisitorform" required name="companyname" readonly="readonly" type="text" />
							</p>
							<p class="form-inpt-p">
								<label>联系人</label><input class="inpt" value="<%=entityS.getName() %>" form="addrvisitorform" required readonly="readonly" name="name" type="text" placeholder="请输入您的真实姓名" />
							</p>
							<p class="form-inpt-p">
								<label>手机号</label><input class="inpt" value="<%=entityS.getPhone() %>" form="addrvisitorform" required name="phone" />
							</p>
							</section>
						</section>
					</section>
					<section class="mt">
						<p class="addrvisitor-title pd">参观信息</p>
						<section class="line"></section>
						<section class="common_bg">
							<section class="perfect pd">
							<p class="form-inpt-p">
								<label>参观人数</label>
								<input class="inpt" readonly="readonly" required value="<%=entityS.getPeopleCount() %>" name="peopleCount" type="text" />
							</p>
							<p class="form-inpt-p">
								<label class="vistor-instuct">参观说明</label><textarea name="remark"class="inpt vistor-instuct-text" form="addrvisitorform" /><%=entityS.getRemark() %></textarea>
							</p>
							</section>
						</section>
					</section>
				</form>
			</section>
		</section>
	</body>
		<script src="js/jquery.min.js"></script>
		<script src="angular-1.5.0-rc.2/angular.js"></script>
		<script src="js/main.js"></script>
		<script src="js/jquery.min.js"></script>		
		<script src="js/responsive.js"></script>
</html>
